Dynamic stability test during level and uphill walking